A brute-force algorithm to solve Sudoku puzzles.